package ManagedBean;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import javax.ejb.EJB;
import ejb.ManejoUsuariosEJB;
import jpa.entities.Customer;
import jpa.entities.Adress;


@ManagedBean(name = "manejoUsuariosBean")
@RequestScoped
public class ManejoUsuariosBean {

	@EJB
	private ManejoUsuariosEJB manejoUsuariosEJB;
	private Customer customer = new Customer();
 	public Customer getCustomer(){
		return this.customer;
	}
	private Adress adress = new Adress();
 	public Adress getAdress(){
		return this.adress;
	}

	
	public ManejoUsuariosBean(){
	}
 	public String accion(){
		manejoUsuariosEJB.accion();
		return "void";
	}


}
